import { BroadCastCall } from "../../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../../Framework/MQ/MessageBlock";
import { SCopyFirstOpenDt } from "../../../../../Message/Public/SCopyFirstOpenDt";
import { Cache } from "../../../cache/Cache";
import { ECopyType } from "../../../../../Message/Public/ECopyType";
//class CopyFirstOpenDtCommand
    
    export  class CopyFirstOpenDtCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            var loc1=arg1.messageBase as SCopyFirstOpenDt;
            Cache.instance.wrestle.openDate = loc1.openDtMap[ECopyType._ECopyWrestle];
            return;
        }
    }
